import request from '@/utils/request'

// 查询生产物料报价周期审核列表
export function listItmAudit(query) {
  return request({
    url: '/project/materiel/listItmAudit',
    method: 'get',
    params: query
  })
}

// 查询生产物料报价周期审核详细
export function getItmAudit(itmId) {
  return request({
    url: '/project/materiel/' + itmId,
    method: 'get'
  })
}



// 审核生产物料报价周期审核
export function audItmAudit(itmId) {
  return request({
    url: '/project/materiel/audItmAudit/' + itmId,
    method: 'put'
  })
}

// 撤回生产物料报价周期审核
export function withdrawItmAudit(itmId) {
  return request({
    url: '/project/materiel/withdrawItmAudit/' + itmId,
    method: 'put'
  })
}

// 导出生产物料报价周期审核
export function exportItmAudit(query) {
  return request({
    url: '/project/materiel/export',
    method: 'get',
    params: query
  })
}
